import {get,post,put,del,requestGet,downFilesGet,uploadUrl} from './request'

export const upLoadOrigin = uploadUrl()

export const Apilogin = (params) => post('/api/auth/login',params) //登录
export const Apilogout = (params) => post('/api/auth/logout',params) //退出登录

//菜单
export const ApimenusUser = (params,config) => get('/api/menus/user',params,config)  //查询用户菜单
export const Apimenus = (params,config) => get('/api/menus',params,config)  //列表
export const ApimenusAdd = (params) => post(`/api/menus`,params)  //新建
export const ApimenusPut = (params,id) => put(`/api/menus/${id}`,params)  //修改
export const ApimenusDel = (id) => del(`/api/menus/${id}`,)  //删除

//权限管理
export const Apipermissions = (params,config) => get('/api/permissions',params,config)  //列表
export const ApipermissionsAdd = (params) => post(`/api/permissions`,params)  //新建
export const ApipermissionsPut = (params,id) => put(`/api/permissions/${id}`,params)  //修改
export const ApipermissionsDel = (id) => del(`/api/permissions/${id}`,)  //删除

//角色管理
export const Apiroles = (params,config) => get('/api/roles',params,config)  //列表
export const ApirolesAdd = (params) => post(`/api/roles`,params)  //新建
export const ApirolesPut = (params,id) => put(`/api/roles/${id}`,params)  //修改
export const ApirolesDel = (id) => del(`/api/roles/${id}`,)  //删除

//角色权限绑定记录
export const Apirolepermissions = (params,config) => get('/api/rolepermissions',params,config)  //列表
export const ApirolepermissionsAdd = (params) => post(`/api/rolepermissions`,params)  //新建
export const ApirolepermissionsPut = (params,id) => put(`/api/rolepermissions/${id}`,params)  //修改
export const ApirolepermissionsDel = (id) => del(`/api/rolepermissions/${id}`,)  //删除
export const ApirolepermissionsAll = (params,config) => get('/api/rolepermissions/role/permissions',params,config)  //查询角色权限

//职员角色授权记录
export const Apiemployeeroles = (params,config) => get('/api/employeeroles',params,config)  //列表
export const ApiemployeerolesAdd = (params) => post(`/api/employeeroles`,params)  //新建
export const ApiemployeerolesPut = (params,id) => put(`/api/employeeroles/${id}`,params)  //修改
export const ApiemployeerolesDel = (id) => del(`/api/employeeroles/${id}`,)  //删除

//职员管理
export const Apiemployees = (params,config) => get('/api/employees',params,config)  //列表
export const ApiemployeesInfo = (id) => get(`/api/employees/${id}`,)  //详情
export const ApiemployeesAdd = (params) => post(`/api/employees`,params)  //新建
export const ApiemployeesPut = (params,id) => put(`/api/employees/${id}`,params)  //修改
export const ApiemployeesDel = (id) => del(`/api/employees/${id}`,)  //删除
export const ApiemployeesCheck = (params,id) => post(`/api/employees/check/${id}`,params)  //新建
export const ApichangeDepartment = (params) => post(`/api/employees/changeDepartment`,params)  //转岗
export const ApichangeDepartmentInfo = (id) => get(`/api/employees/changeDepartment/` + id)  //转岗信息
export const ApichangeDepartmentPut = (params,id) => put(`/api/employees/changeDepartment/` + id,params)  //转岗信息

//系统维护

//医院信息
export const Apihospitalinfo = (params,config) => get('/api/hospitalinfo',params,config)  //列表
// _method=put 文件提交
export const ApihospitalinfoPut = (params,config) => post('/api/hospitalinfo?_method=put',params,config)  // 
//重置密码
export const ApipasswordReset = (params,config) => post('/api/password/reset',params,config)  // 
// 登录日志
export const ApilogsLogin = (params,config) => get('/api/logs/login',params,config)  // 
// 系统日志
export const ApilogsSystem = (params,config) => get('/api/logs/system',params,config)  // 
//人员调整
// export const Apiemployees = (params,config) => get('/api/employees',params,config)  //列表
export const ApiemployeesChangePut = (params,id,config) => put(`/api/employees/change/${id}`,params,config)  // 编辑
// export const ApiemployeesDel = (id) => del(`/api/employees/${id}`)  // 删除


/**
 * 科室信息
*/
export const Apidepartments= (params,config) => get('/api/departments',params,config)  //列表
export const ApidepartmentsAdd= (params,config) => post('/api/departments',params,config)  //添加
export const ApidepartmentsPut= (params,id,config) => put('/api/departments/' + id,params,config)  //修改
export const ApidepartmentsDel= (id) => del('/api/departments/' + id)  //删除

/**
 * 学术活动
*/
//参加会议
// export const Apihostmeetings= (params,config) => get('/api/hostmeetings',params,config)  //列表
// export const ApihostmeetingsAdd= (params,config) => post('/api/hostmeetings',params,config)  //添加
// export const ApihostmeetingsPut= (params,id,config) => put('/api/hostmeetings/' + id,params,config)  //修改
// export const ApihostmeetingsDel= (id) => del('/api/hostmeetings/' + id)  //删除
// export const ApihostmeetingsCheck= (params,id) => post('/api/hostmeetings/check/' + id,params)  //审核

// //参加会议
// export const Apiattendmeetings= (params,config) => get('/api/attendmeetings',params,config)  //列表
// export const ApiattendmeetingsAdd= (params,config) => post('/api/attendmeetings',params,config)  //添加
// export const ApiattendmeetingsPut= (params,id,config) => put('/api/attendmeetings/' + id,params,config)  //修改
// export const ApiattendmeetingsDel= (id) => del('/api/attendmeetings/' + id)  //删除
// export const ApiattendmeetingsCheck= (params,id) => post('/api/attendmeetings/check/' + id,params)  //删除
/**
 * 纵向项目列表
*/
export const Apiprojects= (params,config) => get('/api/projects',params,config)  //列表
export const ApiprojectsAdd= (params,config) => post('/api/projects',params,config)  //添加
export const ApiprojectsPut= (params,id,config) => post('/api/projects/' + id + '/?_method=put',params,config)  //修改
export const ApiprojectsDel= (id) => del('/api/projects/' + id)  //删除
export const ApiprojectsCheck= (params,id) => post('/api/projects/check/' + id,params)  //删除
export const Apiprojectslixiang= (params,id,config) => post('/api/projects/lixiang/' + id,params,config)  //删除

export const ApiprojectsChange= (params,id,config) => post('/api/projects/change/' + id,params,config)  //申请变更
export const ApiprojectsAccept= (params,id,config) => post('/api/projects/accept/' + id,params,config)  //验收
export const ApiprojectsChangeValue= (id) => get('/api/projects/changeValue/' + id)  //列表
export const ApiprojectsFunds= (params,id) => get('/api/projects/funds/' + id,params)  //列表
export const ApiprojectsReviewRecord= (id) => get('/api/projects/reviewRecord/' + id)  //列表

export const Apiproject_members= (params,config) => get('/api/project_members',params,config)  //列表
export const Apiproject_membersAdd= (params,config) => post('/api/project_members',params,config)  //添加
export const Apiproject_membersPut= (params,id,config) => put('/api/project_members/' + id,params,config)  //修改
export const Apiproject_membersDel= (id) => del('/api/project_members/' + id)  //删除

export const ApiprojectsUpload= (params,id,config) => post('/api/projects/upload/' + id,params,config)  //验收

export const ApiprojectsUploadFile= (params,config) => post('/api/projects/uploadFile',params,config)  //文件上传

/**
 * 横向项目列表
*/
export const Apicontracts= (params,config) => get('/api/contracts',params,config)  //列表
export const ApicontractsAdd= (params,config) => post('/api/contracts',params,config)  //添加
export const ApicontractsPut= (params,id,config) => post('/api/contracts/' + id + '/?_method=put',params,config)  //修改
export const ApicontractsDel= (id) => del('/api/contracts/' + id)  //删除
export const ApicontractsCheck= (params,id) => post('/api/contracts/check/' + id,params)  //删除
export const Apicontractslixiang= (params,id) => post('/api/contracts/lixiang/' + id,params)  //立项

export const ApicontractsChange= (params,id,config) => post('/api/contracts/change/' + id,params,config)  //申请变更
export const ApicontractsAccept= (params,id,config) => post('/api/contracts/accept/' + id,params,config)  //验收
export const ApicontractsUpload= (params,id,config) => post('/api/contracts/upload/' + id,params,config)  //文件上传
export const ApicontractsChangeValue= (id) => get('/api/contracts/changeValue/' + id)  //列表
export const ApicontractsFunds= (params,id) => get('/api/contracts/funds/' + id,params)  //列表
export const ApicontractsReviewRecord= (id) => get('/api/contracts/reviewRecord/' + id)  //列表

export const Apicontractmember= (params,config) => get('/api/contractmember',params,config)  //列表
export const ApicontractmemberAdd= (params,config) => post('/api/contractmember',params,config)  //添加
export const ApicontractmemberPut= (params,id,config) => put('/api/contractmember/' + id,params,config)  //修改
export const ApicontractmemberDel= (id) => del('/api/contractmember/' + id)  //删除

export const ApicontractmemberUploadFile= (params,config) => post('/api/contracts/uploadFile',params,config)  //文件上传

/**
 * 国际项目
*/
export const ApiInternationalcontracts= (params,config) => get('/api/Internationalcontracts',params,config)  //列表
export const ApiInternationalcontractsAdd= (params,config) => post('/api/Internationalcontracts',params,config)  //添加
export const ApiInternationalcontractsPut= (params,id,config) => post('/api/Internationalcontracts/' + id + '/?_method=put',params,config)  //修改
export const ApiInternationalcontractsDel= (id) => del('/api/Internationalcontracts/' + id)  //删除
export const ApiInternationalcontractsCheck= (params,id) => post('/api/Internationalcontracts/check/' + id,params)  //删除
export const ApiInternationalcontractsAccept= (params,id,config) => post('/api/Internationalcontracts/accept/' + id,params,config)  //验收

export const Apiinternationalcontractsmember= (params,config) => get('/api/internationalcontractsmember',params,config)  //列表
export const ApiinternationalcontractsmemberAdd= (params,config) => post('/api/internationalcontractsmember',params,config)  //添加
export const ApiinternationalcontractsmemberPut= (params,id,config) => put('/api/internationalcontractsmember/' + id,params,config)  //修改
export const ApiinternationalcontractsmemberDel= (id) => del('/api/internationalcontractsmember/' + id)  //删除

//项目经费统计
export const ApiprojectFunds= (params,config) => get('/api/projectfunds/project/funds',params,config)  //列表

/**
 * 科研论文
*/
export const Apipaperinfos= (params,config) => get('/api/paperinfos',params,config)  //列表
export const ApipaperinfosAdd= (params,config) => post('/api/paperinfos',params,config)  //添加
export const ApipaperinfosPut= (params,id,config) => post('/api/paperinfos/' + id + '/?_method=put',params,config)  //修改
export const ApipaperinfosDel= (id) => del('/api/paperinfos/' + id)  //删除
export const ApipaperinfosCheck= (params,id) => post('/api/paperinfos/check/' + id,params)  //删除

/**
 * 专利成果
*/
export const Apipatentinfos= (params,config) => get('/api/patentinfos',params,config)  //列表
export const ApipatentinfosAdd= (params,config) => post('/api/patentinfos',params,config)  //添加
export const ApipatentinfosPut= (params,id,config) => post('/api/patentinfos/' + id + '/?_method=put',params,config)  //修改
export const ApipatentinfosDel= (id) => del('/api/patentinfos/' + id)  //删除
export const ApipatentinfosCheck= (params,id) => post('/api/patentinfos/check/' + id,params)  //删除

/**
 * 成果转化
*/
export const Apipatentcontracts= (params,config) => get('/api/patentcontracts',params,config)  //列表
export const ApipatentcontractsAdd= (params,config) => post('/api/patentcontracts',params,config)  //添加
export const ApipatentcontractsPut= (params,id,config) => post('/api/patentcontracts/' + id + '/?_method=put',params,config)  //修改
export const ApipatentcontractsDel= (id) => del('/api/patentcontracts/' + id)  //删除
export const ApipatentcontractsCheck= (params,id) => post('/api/patentcontracts/check/' + id,params)  //删除

/**
 * 成果申报
*/
export const Apiresearchfindings= (params,config) => get('/api/researchfindings',params,config)  //列表
export const ApiresearchfindingsAdd= (params,config) => post('/api/researchfindings',params,config)  //添加
export const ApiresearchfindingsPut= (params,id,config) => post('/api/researchfindings/' + id + '/?_method=put',params,config)  //修改
export const ApiresearchfindingsDel= (id) => del('/api/researchfindings/' + id)  //删除
export const ApiresearchfindingsCheck= (params,id) => post('/api/researchfindings/check/' + id,params)  //删除

/**
 * 成果获奖
*/
export const Apiresearchfindingawards= (params,config) => get('/api/researchfindingawards',params,config)  //列表
export const ApiresearchfindingawardsAdd= (params,config) => post('/api/researchfindingawards',params,config)  //添加
export const ApiresearchfindingawardsPut= (params,id,config) => post('/api/researchfindingawards/' + id + '/?_method=put',params,config)  //修改
export const ApiresearchfindingawardsDel= (id) => del('/api/researchfindingawards/' + id)  //删除
export const ApiresearchfindingawardsCheck= (params,id) => post('/api/researchfindingawards/check/' + id,params)  //删除


/**
 * 项目经费
*/
export const Apiprojectfunds= (params,config) => get('/api/projectfunds',params,config)  //列表
export const ApiprojectfundsInfo= (id) => get('/api/projectfunds/' + id)  //列表

//到账经费
export const Apiprojectreceive= (params,config) => get('/api/projectreceive',params,config)  //列表
export const ApiprojectreceiveAdd= (params,config) => post('/api/projectreceive',params,config)  //添加
export const ApiprojectreceivePut= (params,id,config) => put('/api/projectreceive/' + id,params,config)  //修改
export const ApiprojectreceiveDel= (id) => del('/api/projectreceive/' + id)  //删除
export const ApiprojectreceiveCheck= (params,id) => post('/api/projectreceive/check/' + id,params)  //删除

//支出经费
export const Apiprojectexpend= (params,config) => get('/api/projectexpend',params,config)  //列表
export const ApiprojectexpendAdd= (params,config) => post('/api/projectexpend',params,config)  //添加
export const ApiprojectexpendPut= (params,id,config) => put('/api/projectexpend/' + id,params,config)  //修改
export const ApiprojectexpendDel= (id) => del('/api/projectexpend/' + id)  //删除
export const ApiprojectexpendCheck= (params,id) => post('/api/projectexpend/check/' + id,params)  //删除

//到账经费
export const Apiprojectoutside= (params,config) => get('/api/projectoutside',params,config)  //列表
export const ApiprojectoutsideAdd= (params,config) => post('/api/projectoutside',params,config)  //添加
export const ApiprojectoutsidePut= (params,id,config) => put('/api/projectoutside/' + id,params,config)  //修改
export const ApiprojectoutsideDel= (id) => del('/api/projectoutside/' + id)  //删除
export const ApiprojectoutsideCheck= (params,id) => post('/api/projectoutside/check/' + id,params)  //删除

// 配套经费
export const Apiprojectmatchingfundrecord= (params,config) => get('/api/projectmatchingfundrecord',params,config)  //列表
export const ApiprojectmatchingfundrecordAdd= (params,config) => post('/api/projectmatchingfundrecord',params,config)  //添加
export const ApiprojectmatchingfundrecordPut= (params,id,config) => put('/api/projectmatchingfundrecord/' + id,params,config)  //修改
export const ApiprojectmatchingfundrecordDel= (id) => del('/api/projectmatchingfundrecord/' + id)  //删除
export const ApiprojectmatchingfundrecordCheck= (params,id) => post('/api/projectmatchingfundrecord/check/' + id,params)  //删除

// 自筹经费
export const Apiprojectselffundrecord= (params,config) => get('/api/projectselffundrecord',params,config)  //列表
export const ApiprojectselffundrecordAdd= (params,config) => post('/api/projectselffundrecord',params,config)  //添加
export const ApiprojectselffundrecordPut= (params,id,config) => put('/api/projectselffundrecord/' + id,params,config)  //修改
export const ApiprojectselffundrecordDel= (id) => del('/api/projectselffundrecord/' + id)  //删除
export const ApiprojectselffundrecordCheck= (params,id) => post('/api/projectselffundrecord/check/' + id,params)  //删除

// 院内经费
export const Apiprojecthospitalrecord= (params,config) => get('/api/projecthospitalrecord',params,config)  //列表
export const ApiprojecthospitalrecordAdd= (params,config) => post('/api/projecthospitalrecord',params,config)  //添加
export const ApiprojecthospitalrecordPut= (params,id,config) => put('/api/projecthospitalrecord/' + id,params,config)  //修改
export const ApiprojecthospitalrecordDel= (id) => del('/api/projecthospitalrecord/' + id)  //删除
export const ApiprojecthospitalrecordCheck= (params,id) => post('/api/projecthospitalrecord/check/' + id,params)  //删除

/**
 * 合同经费
*/
export const Apicontractfunds= (params,config) => get('/api/contractfunds',params,config)  //列表
export const ApicontractfundsInfo= (id) => get('/api/contractfunds/' + id)  //列表

//到账经费
export const Apicontractreceive= (params,config) => get('/api/contractreceive',params,config)  //列表
export const ApicontractreceiveAdd= (params,config) => post('/api/contractreceive',params,config)  //添加
export const ApicontractreceivePut= (params,id,config) => put('/api/contractreceive/' + id,params,config)  //修改
export const ApicontractreceiveDel= (id) => del('/api/contractreceive/' + id)  //删除
export const ApicontractreceiveCheck= (params,id) => post('/api/contractreceive/check/' + id,params)  //删除

//到账经费
export const Apicontractexpend= (params,config) => get('/api/contractexpend',params,config)  //列表
export const ApicontractexpendAdd= (params,config) => post('/api/contractexpend',params,config)  //添加
export const ApicontractexpendPut= (params,id,config) => put('/api/contractexpend/' + id,params,config)  //修改
export const ApicontractexpendDel= (id) => del('/api/contractexpend/' + id)  //删除
export const ApicontractexpendCheck= (params,id) => post('/api/contractexpend/check/' + id,params)  //删除

//到账经费
export const Apicontractoutside= (params,config) => get('/api/contractoutside',params,config)  //列表
export const ApicontractoutsideAdd= (params,config) => post('/api/contractoutside',params,config)  //添加
export const ApicontractoutsidePut= (params,id,config) => put('/api/contractoutside/' + id,params,config)  //修改
export const ApicontractoutsideDel= (id) => del('/api/contractoutside/' + id)  //删除
export const ApicontractoutsideCheck= (params,id) => post('/api/contractoutside/check/' + id,params)  //删除

// 配套经费
export const Apicontractmatchingfundrecord= (params,config) => get('/api/contractmatchingfundrecord',params,config)  //列表
export const ApicontractmatchingfundrecordAdd= (params,config) => post('/api/contractmatchingfundrecord',params,config)  //添加
export const ApicontractmatchingfundrecordPut= (params,id,config) => put('/api/contractmatchingfundrecord/' + id,params,config)  //修改
export const ApicontractmatchingfundrecordDel= (id) => del('/api/contractmatchingfundrecord/' + id)  //删除
export const ApicontractmatchingfundrecordCheck= (params,id) => post('/api/contractmatchingfundrecord/check/' + id,params)  //删除

// 自筹经费
export const Apicontractselffundrecord= (params,config) => get('/api/contractselffundrecord',params,config)  //列表
export const ApicontractselffundrecordAdd= (params,config) => post('/api/contractselffundrecord',params,config)  //添加
export const ApicontractselffundrecordPut= (params,id,config) => put('/api/contractselffundrecord/' + id,params,config)  //修改
export const ApicontractselffundrecordDel= (id) => del('/api/contractselffundrecord/' + id)  //删除
export const ApicontractselffundrecordCheck= (params,id) => post('/api/contractselffundrecord/check/' + id,params)  //删除

// 院内经费
export const Apicontracthospitalrecord= (params,config) => get('/api/contracthospitalrecord',params,config)  //列表
export const ApicontracthospitalrecordAdd= (params,config) => post('/api/contracthospitalrecord',params,config)  //添加
export const ApicontracthospitalrecordPut= (params,id,config) => put('/api/contracthospitalrecord/' + id,params,config)  //修改
export const ApicontracthospitalrecordDel= (id) => del('/api/contracthospitalrecord/' + id)  //删除
export const ApicontracthospitalrecordCheck= (params,id) => post('/api/contracthospitalrecord/check/' + id,params)  //删除


/**
 * 消息通知
 */
export const Apimessages= (params,config) => get('/api/messages',params,config)  //列表
export const ApimessagesInfo= (id) => get('/api/messages/' + id)  //列表

export const Apimessagemanage= (params,config) => get('/api/messagemanage',params,config)  //列表
export const ApimessagemanageAdd= (params,config) => post('/api/messagemanage',params,config)  //添加
export const ApimessagemanageDel= (id) => del('/api/messagemanage/' + id)  //删除
export const ApimessagemanageTop= (params,id,config) => post('/api/messagemanage/' + id,params,config)  //置顶
export const ApimessagemanageCheck= (params,id) => post('/api/messagemanage/check/' + id,params)  //审核
export const ApiupLoadFiles= (url,config) => downFilesGet(`${url}`, {},{responseType:'blob',})  //下载文件

/**
 * 文件下载
 */
 export const Apidocuments= (params,config) => get('/api/documents',params,config)  //列表
 export const ApidocumentsAdd= (params,config) => post('/api/documents',params,config)  //添加
 export const ApidocumentsPut= (params,id,config) => put('/api/documents/' + id,params,config)  //修改
 export const ApidocumentsDel= (id) => del('/api/documents/' + id)  //删除
 export const ApidocumentsDown= (id) => requestGet('/api/documents/download/' + id,{},{responseType:'blob'})  //删除

 /**
 * 首页
 */
export const ApihomeAffair= (params,config) => get('/api/home/affair',params,config)  //列表
export const ApihomeMessage= (params,config) => get('/api/home/message',params,config)  //列表
export const ApiScientific= (params,config) => get('/api/home/scientific',params,config)  //列表
export const ApiStatistics= (params,config) => get('/api/home/statistics',params,config)  //列表
export const ApihomeAffairProject= (params,config) => get('/api/home/affair/projectfunds',params,config)  //列表
export const ApihomeAffairContract= (params,config) => get('/api/home/affair/contractfunds',params,config)  //列表
export const ApihomeAffairEvaluatefunds= (params,config) => get('/api/home/affair/evaluatefunds',params,config)  //列表

/**
 * 学术任职
 */
 export const Apiacademicoffice= (params,config) => get('/api/academicoffice',params,config)  //列表
 export const ApiacademicofficeAdd= (params,config) => post('/api/academicoffice',params,config)  //添加
 export const ApiacademicofficePut= (params,id,config) => post('/api/academicoffice/' + id + '/?_method=put',params,config)  //修改
 export const ApiacademicofficeDel= (id) => del('/api/academicoffice/' + id)  //删除
 export const ApiacademicofficeCheck= (params,id) => post('/api/academicoffice/check/' + id,params)  //删除

 /**
 * 预警信息
 */
export const Apiwarnings= (params,config) => get('/api/warnings',params,config)  //列表
export const ApiwarningsInfo= (id) => get('/api/warnings/' + id)  //详情


 /**
 * 个人资料
 */
export const Apiemployeedetails= (id) => get('/api/employeedetails/' + id)  //列表
export const ApiemployeedetailsPut= (params,id,config) => post('/api/employeedetails/' + id + '/?_method=put',params,config)  //列表

export const ApipasswordChange= (params) => post('/api/password/change',params)  //修改密码

/**
 * 经费认领
 */
//经费到款
export const Apifundsclaim= (params,config) => get('/api/fundsclaim',params,config)  //列表
export const ApifundsclaimAdd= (params,config) => post('/api/fundsclaim',params,config)  //添加
export const ApifundsclaimPut= (params,id,config) => post('/api/fundsclaim/' + id + '/?_method=put',params,config)  //修改
export const ApifundsclaimDel= (id) => del('/api/fundsclaim/' + id)  //删除
export const ApifundsclaimClaim= (params,id) => post('/api/fundsclaim/claim/' + id,params)  //认领

export const Apifundsclaimrecord= (params,config) => get('/api/fundsclaimrecord',params,config)  //列表


/**
 * 学科评估
 */
//发布评估
export const Apievaluatetask= (params,config) => get('/api/evaluatetask',params,config)  //列表
export const ApievaluatetaskAdd= (params,config) => post('/api/evaluatetask',params,config)  //添加
export const Apievaluatetaskdel= (id) => del('/api/evaluatetask/' + id)  //删除
export const ApievaluatetaskPut= (id,params,config) => put('/api/evaluatetask/' + id,params,config)  //修改

export const Apievaluatetaskdetail= (params,config) => get('/api/evaluatetaskdetail',params,config)  //列表
export const ApievaluatetaskdetailAdd= (params,config) => post('/api/evaluatetaskdetail',params,config)  //添加
export const ApievaluatetaskdetailPut= (params,id,config) => put('/api/evaluatetaskdetail/' + id ,params,config)  //修改
export const ApievaluatetaskdetailDel= (id) => del('/api/evaluatetaskdetail/' + id)  //删除
export const ApievaluatetaskdetailImport= (params,config) => post('/api/evaluatetaskdetail/data/import',params,config)  //删除

export const Apievaluaterecord= (params,config) => get('/api/evaluaterecord',params,config)  //列表

export const ApievaluatetemplateAdd= (params,config) => post('/api/evaluatetemplate',params,config)  //创建模板
export const ApievaluatetemplatePut= (id,params,config) => put('/api/evaluatetemplate/'+id,params,config)  //创建模板
export const ApievaluatetemplateDel= (id,params,config) => del('/api/evaluatetemplate/'+id,params,config)  //创建模板
export const Apievaluatetemplate= (params,config) => get('/api/evaluatetemplate',params,config)  //列表
export const ApievaluatetemplateInfo= (id,params) => get('/api/evaluatetemplate/' + id,params,{})  //列表
export const Apiusetemplate= (id,config) => get('/api/evaluatetemplate/active/'+ id,{},config)  //使用

export const Apievaluaterank= (params,config) => get('/api/evaluaterank',params,config)  //学科发展经费列表
export const ApievaluaterankInfo= (id) => get('/api/evaluaterank/'+id)  //详情

export const Apievaluatefund= (params,config) => get('/api/evaluatefund',params,config)  //列表
export const ApievaluatefundAdd= (params,config) => post('/api/evaluatefund',params,config)  //添加
export const ApievaluatefundPut= (params,id,config) => put('/api/evaluatefund/' + id ,params,config)  //修改
export const ApievaluatefundDel= (id) => del('/api/evaluatefund/' + id)  //删除
export const ApievaluatefundCheck= (params,id) => post('/api/evaluatefund/check/' + id,params)  //审核

//数据备份
export const ApibackupSetting= (params,config) => post('/api/backup/setting',params,config)  //设置
export const ApigetSetting= (params,config) => get('/api/backup/get/setting',params,config)  //列表
export const Apibackup= (params,config) => get('/api/backup',params,config)  //列表
export const ApibackupRestore= (id,config) => get('/api/backup/restore/' + id,{},config)  //恢复
export const ApibackupRestoreDel= (id,config) => del('/api/backup/' + id,{},config)  //删除
export const ApibackupNow= (config) => get('/api/backup/now',{},config)  //立即备份

//学科
export const Apidisciplines= (params,config) => get('/api/disciplines',params,config)  //列表

